package nasif.cn.imagewikis.web.controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping(value = "/hello")
public class Hello {
	@RequestMapping(value = "/sayhello", method = RequestMethod.GET)
	public String  sayhello( Model model){
		model.addAttribute("message", "你好");
		return "hello";
	}
}
